package com.wshoto.ocean.service.client.service;

import com.wshoto.ocean.feign.common.dto.*;
import com.wshoto.ocean.feign.common.request.*;

/**
 * 示例Feign接口业务逻辑层定义
 * 命名规范:将Feign接口类型反转，后缀变前缀
 * 例：AppServiceFeign反转后FeignAppService
 * 用于定义Feign接口实现的业务逻辑层依赖
 *
 * @author Lee
 */
public interface FeignAppService {

    /**
     * @param appReq
     * @return
     */
    AppInfoListDTO getApps(AppReq appReq);

    /**
     * @param id
     * @return
     */
    AppInfoDTO getAppById(Long id);

    /**
     * @param appRegisterReq
     */
    void appRegister(AppRegisterReq appRegisterReq);

    /**
     * @param id
     */
    void deleteApp(Long id);

}
